package com.freshman_registration.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


import java.util.Date;

@Data
public class Notice {

    private Integer id;           // BIGINT
    private String title;      // VARCHAR(100)
    private String content;    // TEXT
    private Integer publisherId; // INT
    private String workNo; // 新增：存储管理员工号
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date publishTime;  // DATETIME
    private Integer isShow;

}
